<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
/**
 * Class Links extends Modules_Controller
 * @author era
 * 外链
 */
class Links extends Modules_Controller{

    public function index($cid=false,$page=1)
    {
        $this->load->model('account_model','maccount');
        $this->load->model('Identity_model','mdentity');
        $this->load->model('company_model','mcompany');
        $this->load->model('Withdrawapply_model','mwithapply');
        $this->load->model('feedback_model','mfeedback');
        $this->load->model('needs_model','mneeds');
        $this->load->model('Report_model','mreport');
        $total1 = $this->maccount->get_status_nums();
        $total2 = $this->mdentity->get_status_nums();
        $total3 = $this->mcompany->get_status_nums();
        $total4 = $this->mwithapply->get_status_nums();
        $total5 = $this->mfeedback->get_status_nums();
        $total6 = $this->mneeds->get_status_nums();
        $total7 = $this->mneeds->get_status_nums2();
        $total8 = $this->mreport->get_status_nums();
        $vdata['total1'] = $total1['total'];
        $vdata['total2'] = $total2['total'];
        $vdata['total3'] = $total3['total'];
        $vdata['total4'] = $total4['total'];
        $vdata['total5'] = $total5['total'];
        $vdata['total6'] = $total6['total'];
        $vdata['total7'] = $total7['total'];
        $vdata['total8'] = $total8['total'];
        $this->_display($vdata);
    }

	protected function _create_data(){
		$form=$this->input->post();
		$form['timeline'] = time();
		return $form;
	}

}
